Skip to content

Comments

fix(router): fix middleware and plugin ordering#909

Open
Xenossolitarius wants to merge 2 commits intonuxt-modules:mainfrom
Xenossolitarius:ipesic/fix-middleware-ordering
Open

fix(router): fix middleware and plugin ordering#909
Xenossolitarius wants to merge 2 commits intonuxt-modules:mainfrom
Xenossolitarius:ipesic/fix-middleware-ordering

Conversation

@Xenossolitarius
Copy link

@Xenossolitarius Xenossolitarius commented Feb 13, 2026

🔗 Linked issue

#908

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Added back ordering for the router middleware, tested most cases.
Unfortunately not sure the full story behind this ionic router integration so I am not completely confident but I started to create a new capacitor app and was with plugins being in race condition with the middleware. Which also breaks usage of pinia stores inside those too. I hope this PR helps.

@netlify
Copy link

netlify bot commented Feb 13, 2026

Deploy Preview for friendly-lamington-fb5690 ready!

Name Link
🔨 Latest commit 5dbf9e9
🔍 Latest deploy log https://app.netlify.com/projects/friendly-lamington-fb5690/deploys/69921c29c0e4f90008e350ac
😎 Deploy Preview https://deploy-preview-909--friendly-lamington-fb5690.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

❌ Patch coverage is 0% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 49.79%. Comparing base (70664ca) to head (5dbf9e9).

Files with missing lines Patch % Lines
src/runtime/plugins/router.ts 0.00% 18 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #909      +/-   ##
==========================================
+ Coverage   49.59%   49.79%   +0.20%     
==========================================
  Files          12       12              
  Lines         740      737       -3     
  Branches       52       52              
==========================================
  Hits          367      367              
+ Misses        373      370       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Xenossolitarius
Copy link
Author

@danielroe code is not covered by e2e tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants